import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import {
	ajaxRequest,
	util,
	fileUpload
} from "./common/js/util.js";
import VueLuckyCanvas from '@lucky-canvas/vue';
Vue.use(VueLuckyCanvas);
Vue.use(uView);
Vue.config.productionTip = false

// 小程序分享的封装
import share from "./common/share.js"
Vue.mixin(share)
Vue.prototype.baseUrl = 'https://csyx.codedemon.cn/api/' //对接服务器
Vue.prototype.baseDomian = 'https://csyx.codedemon.cn/'  //对接后台

// Vue.prototype.baseUrl = 'https://csyx.flyingbin.cn/api/' //对接服务器
// Vue.prototype.baseDomian = 'https://csyx.flyingbin.cn/'  //对接后台
// Vue.prototype.baseUrl = 'http://www.laundry02.com/api/'
import tabBar from '@/components/tabbar.vue'
Vue.component('tab-bar', tabBar)

Vue.prototype.$ajaxRequest = ajaxRequest;
Vue.prototype.$util = util;

App.mpType = 'app'

const app = new Vue({
    ...App
})


app.$mount()
